package com.xunqi.mall.service;

import com.xunqi.mall.vo.CategoryVo;
import com.xunqi.mall.vo.ResponseVo;

import java.util.List;
import java.util.Set;

/**
 * @Description:
 * @Created with IntelliJ IDEA.
 * @author: 夏沫止水
 * @create: 2020-04-23 19:35
 **/
public interface CategoryService {

    /**
     * 查询全部类目信息
     * @return
     */
    ResponseVo<List<CategoryVo>> selectAll();


    /**
     * 根据类目id查询子类目id
     * @param id
     * @param resultSet
     */
    void findSubCategoryId(Integer id, Set<Integer> resultSet);

}
